package com.dotstone.chipism.bean;

public class District {
	/**
	 * 辖区名
	 */
	private String name;
	/**
	 * 地区代码
	 */
	private String zipcode;
	private int code;
	private int parentCode;
	private String fullName;
	private int type;
	public District() {
		super();
	}

	public District(String name, int code, int parentCode, String fullName, int type) {
		super();
		this.name = name;
		this.code = code;
		this.parentCode = parentCode;
		this.fullName = fullName;
		this.type = type;
	}
	
	

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public int getParentCode() {
		return parentCode;
	}

	public void setParentCode(int parentCode) {
		this.parentCode = parentCode;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public District(String name, String zipcode) {
		super();
		this.name = name;
		this.zipcode = zipcode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	@Override
	public String toString() {
		return "DistrictModel [name=" + name + ", zipcode=" + zipcode + "]";
	}

}
